/*
 * structs.h
 *
 *  Created on: 2009-01-10
 *      Author: tomaszd
 */

#ifndef STRUCTS_H_A
#define STRUCTS_H_A

#include "UdpPlayer.h"
#include <netinet/ip.h>
#include <vector>

struct options {
    int server_port;
    in_addr game_addr;
    in_addr server_addr;
    int game_port;
    int passwd;
    char nick[16];
    
};

struct declaration {
	int passwd;
	char nick[16];
};

struct init {
	int accept;
	struct sockaddr_in addr;
};

struct map {
	int width;
	int height;
	//TODO dopaswoac strukture do potrzeb
};

struct move {
	unsigned long int round;
	int direction;
};

struct moves {
	unsigned long int round;
};



#endif /* STRUCTS_H_ */
